SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42765: "Syntax error, expecting one of the following: a name, *" might occur in the SAS Report Portlet when using SAS® Scalable Performance Data Server® data

DetailsHotfixAboutRate It

The following error might occur when using the SAS Report Portlet in the SAS® Information Delivery Portal to display a SAS® Web Report Studio report.

PROC SQL;
5        !          create view A1 as SELECT
6            ( table0.\date )  AS DIR_3 LABEL='Date' FORMAT=NLDATE20. ,
                      _
                      22
                      200
ERROR 22-322: Syntax error, expecting one of the following: a name, *.

This error is most likely to occur when the report uses an information map created from an SPD Server table, and the information map contains a reserved keyword for a variable name. For example, the word "date" is a reserved keyword.

To circumvent the problem, rename the variable so that it does not use a reserved keyword. For a list of reserved keywords, see (Reserved) Keywords.

Click the Hot Fix tab in this note to access the hot fix for this issue.

Note: This issue does not occur in SAS Web Report Studio because the query optimizer compensates for the use of the reserved keyword. For information about the use of the query optimizer in SAS Information Delivery Portal, see SAS Note 51484.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Information Delivery PortalMicrosoft Windows XP Professional4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Enterprise x644.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Home Premium x644.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Professional x644.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Ultimate x644.2_M14.319.2 TS2M39.3 TS1M0
Windows Vista4.2_M14.319.2 TS2M39.3 TS1M0
Windows Vista for x644.2_M14.319.2 TS2M39.3 TS1M0
64-bit Enabled AIX4.2_M14.319.2 TS2M39.3 TS1M0
64-bit Enabled Solaris4.2_M14.319.2 TS2M39.3 TS1M0
HP-UX IPF4.2_M14.319.2 TS2M39.3 TS1M0
Linux for x644.2_M14.319.2 TS2M39.3 TS1M0
Solaris for x644.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x644.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 20084.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x644.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition4.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.2_M14.319.2 TS2M39.3 TS1M0
Microsoft® Windows® for x644.2_M14.319.2 TS2M39.3 TS1M0
z/OS4.2_M14.319.2 TS2M39.3 TS1M0
SAS SystemSAS BI PortletsMicrosoft® Windows® for x644.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition4.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x644.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 20084.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x644.2_M14.319.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Enterprise x644.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Home Premium x644.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Professional x644.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit4.2_M14.319.2 TS2M39.3 TS1M0
Windows 7 Ultimate x644.2_M14.319.2 TS2M39.3 TS1M0
Windows Vista4.2_M14.319.2 TS2M39.3 TS1M0
Windows Vista for x644.2_M14.319.2 TS2M39.3 TS1M0
64-bit Enabled AIX4.2_M14.319.2 TS2M39.3 TS1M0
64-bit Enabled Solaris4.2_M14.319.2 TS2M39.3 TS1M0
HP-UX IPF4.2_M14.319.2 TS2M39.3 TS1M0
Linux for x644.2_M14.319.2 TS2M39.3 TS1M0
Solaris for x644.2_M14.319.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.